home *** CD-ROM | disk | FTP | other *** search
Wrap
clones { if ($1 ischan) set %tmp.clones $1 elseif ($chan ischan) set %tmp.clones $chan else { iecho Syntax: /clones [channel] return } if ($chan(%tmp.clones).ial != $true) { iecho IAL for $hc(%tmp.clones) is not full, try again in a few seconds... if ($chan(%tmp.clones).ial == $false) .who %tmp.clones } unset %foundclones set %i.clones 0 :start inc %i.clones if ($ialchan(*,%tmp.clones,%i.clones)) { set %tmp *!*@ $+ $ialchan(*,%tmp.clones,%i.clones).host if ($ialchan(%tmp,%tmp.clones,2)) { if ($findtok(%foundclones,$ialchan(*,%tmp.clones,%i).host,1,44)) goto start set %foundclones $addtok(%foundclones,$ialchan(*,%tmp.clones,%i.clones).host,44) } goto start } if (%foundclones == $null) { iecho No clones were found on $hc(%tmp.clones) $+ . ( $+ $sc($nick(%tmp.clones,0)) users) return } window -a @Clones %cloc $tp(clone.pop) FixedSys 9 titlebar @Clones on %tmp.clones write -c $tp(clone.pop) write $tp(clone.pop) exit $chr(123) set % $+ cloc $ $+ swlc(@Clones) $vl window -c @Clones $chr(125) write $tp(clone.pop) - aline @Clones . $+ $str(-,50) $+ . aline @Clones $vl Clone Information on $fix(27,$hc(%tmp.clones)) $vl aline @Clones $vl $+ $str(-,50) $+ $vl aline @Clones $vl $fix(11,Nick) $fix(37,Ident) $+ $vl set %i.clones 0 :start2 inc %i.clones if ($gettok(%foundclones,%i.clones,44)) { aline @Clones $vl $+ $str(-,50) $+ $vl aline @Clones $vl Host: $fix(42,$hc($gettok(%foundclones,%i.clones,44))) $vl aline @Clones $fix(50,$vl) $vl write $tp(clone.pop) $gettok(%foundclones,%i.clones,44) set %k.clones *!*@ $+ $gettok(%foundclones,%i.clones,44) set %j.clones 0 :start3 inc %j.clones if ($ialchan(%k.clones,%tmp.clones,%j.clones)) { aline @Clones $vl $fix(11,$clop($ialchan(%k.clones,%tmp.clones,%j.clones).nick,%tmp.clones)) $fix(10,$hc($ialchan(%k.clones,%tmp.clones,%j.clones).user)) $fix(25,) $vl write $tp(clone.pop) . $+ $ialchan(%k.clones,%tmp.clones,%j.clones).nick write $tp(clone.pop) ..who $chr(123) who $ialchan(%k.clones,%tmp.clones,%j.clones).nick $chr(125) write $tp(clone.pop) ..ping $chr(123) ctcp $ialchan(%k.clones,%tmp.clones,%j.clones).nick ping $chr(125) write $tp(clone.pop) ..whois $chr(123) whois $ialchan(%k.clones,%tmp.clones,%j.clones).nick $chr(125) write $tp(clone.pop) ..finger $chr(123) finger $ialchan(%k.clones,%tmp.clones,%j.clones).nick $chr(125) write $tp(clone.pop) ..version $chr(123) ctcp $ialchan(%k.clones,%tmp.clones,%j.clones).nick version $chr(125) if ($me isop %tmp.clones) { write $tp(clone.pop) ..- write $tp(clone.pop) ..control write $tp(clone.pop) ...kb $chr(123) fkb %tmp.clones $mask($ialchan(%k.clones,%tmp.clones,%j.clones),2) clone from %k.clones $chr(125) write $tp(clone.pop) ...ban $chr(123) ban %tmp.clones $ialchan(%k.clones,%tmp.clones,%j.clones).nick 2 $chr(125) write $tp(clone.pop) ...kick $chr(123) kick %tmp.clones $ialchan(%k.clones,%tmp.clones,%j.clones).nick clone from %k.clones $chr(125) write $tp(clone.pop) ...- write $tp(clone.pop) ...warn $chr(123) qnotice $ialchan(%k.clones,%tmp.clones,%j.clones).nick Your host ( $+ %k.clones $+ ) has been matched with another user on $b(%tmp.clones) $+ . Please limit yourself to one user on this channel or face a possible kick/ban. $chr(125) } if (o isin $usermode) { write $tp(clone.pop) ..IRCop write $tp(clone.pop) ...kill write $tp(clone.pop) ....msg kill $chr(123) .quote kill $ialchan(%k.clones,%tmp.clones,%j.clones).nick : $ $+ + $$ $+ ?="Enter kill message." $chr(125) write $tp(clone.pop) ....clone kill $chr(123) .quote kill $ialchan(%k.clones,%tmp.clones,%j.clones).nick :clones $chr(125) write $tp(clone.pop) ...kline write $tp(clone.pop) ....kline *@*.domain $chr(123) .quote kline $remove($mask($ialchan(%k.clones,%tmp.clones,%j.clones),4),*!) $ $+ ?="Enter duration (cancel for perm)" : $ $+ + $$ $+ ?="Enter K-line reason." $chr(125) write $tp(clone.pop) ....kline *@host.domain $chr(123) .quote kline $remove($mask($ialchan(%k.clones,%tmp.clones,%j.clones),2),*!) $ $+ ?="Enter duration (cancel for perm)" : $ $+ + $$ $+ ?="Enter K-line reason." $chr(125) write $tp(clone.pop) ....kline *ident@host.domain $chr(123) .quote kline $remove($mask($ialchan(%k.clones,%tmp.clones,%j.clones),1),*!) $ $+ ?="Enter duration (cancel for perm)" : $ $+ + $$ $+ ?="Enter K-line reason." $chr(125) write $tp(clone.pop) ....kline *ident@*.domain $chr(123) .quote kline $remove($mask($ialchan(%k.clones,%tmp.clones,%j.clones),3),*!) $ $+ ?="Enter duration (cancel for perm)" : $ $+ + $$ $+ ?="Enter K-line reason." $chr(125) } goto start3 } goto start2 } aline @Clones ' $+ $str(-,50) $+ ' } chkhost { if (($nc($1)) && ($1 !ischan)) { set %spoofchk $nc($1) .who $nc($1) } } clientscan { if ($1 != $null) set %pserver $1 else set %pserver $server set %clientscan on set %clientnum 0 .stats l %pserver } cstats { set %cstats on unset %nmawy %add set %niops 0 set %naway 0 set %ncls 0 .who $iif($1,$1,#) } icmp { iecho ICMP Scanner activated. write -c $tp(temp.txt) run -n trace.bat $tp(temp.txt) $ddename } ircops { set %cn 0 set %lircops on .who $iif($1,$1,#) } ll { if ($exists($nd(svr))) { if (%links < $ctime) { set %linksr on .quote links set %links $pls($ctime,300) } else iecho Ignored /ll. Wait 5 minutes and try again. } else { iecho No server list was found for $hc(%irc.network) $+ . iecho Type /ml to create one. } } ml { if (%links < $ctime) { write -c $nd(svr) set %linkl on .quote links set %links $pls($ctime,300) } else iecho Ignored /ml. Wait 5 minutes and try again. } nickfind { if ($1 == $null) { iecho Syntax: /nickfind <IP/hostname> return } if (($longip($1) isnum) && ($2 != 1)) { set %nickfind on .dns $1 return } set %tmp.nickfind *!*@ $+ $1 if ($ial(%tmp.nickfind,0) == 0) { if ($window(@DNS)) { echo @DNS á if ($form(errors,nonicks)) echo @DNS %h $readini %formats errors nonicks else echo @DNS %h No users found from $hc($1) $+ . } else { if ($form(errors,nonicks)) iecho $readini %formats errors nonicks else iecho No users found from $hc($1) $+ . } } set %i.nickfind 0 :start inc %i.nickfind if ($ial(%tmp.nickfind,%i.nickfind)) { unset %findchans set %j.nickfind 0 :start2 inc %j.nickfind if ($comchan($ial(%tmp.nickfind,%i.nickfind).nick,%j.nickfind)) { set %findchans $addtok(%findchans,$comchan($ial(%tmp.nickfind,%i.nickfind).nick,%j.nickfind),44) goto start2 } if ($window(@DNS)) { echo @DNS á if ($form(echos,founduser)) echo @DNS %h $readini %formats echos founduser else echo @DNS %h Found user $hc($ial(%tmp.nickfind,%i.nickfind).nick) $rbrk($ial(%tmp.nickfind,%i.nickfind).addr) in $hc(%findchans) $+ . } else { if ($form(echos,founduser)) iecho $readini %formats echos founduser else iecho Found user $hc($ial(%tmp.nickfind,%i.nickfind).nick) $rbrk($ial(%tmp.nickfind,%i.nickfind).addr) in $hc(%findchans) $+ . } goto start } } scriptinfo dialog -m ircN.scriptinfo ircN.scriptinfo trace { set %trcnm 0 if ($1 != $null) set %trcsvr $1 else set %trcsvr $server trace %trcsvr } ufind { set %i.ufind 0 set %tmp.ufind 0 :start inc %i.ufind if ($nick(#,%i.ufind) == $null) { if (%tmp.ufind == 0) iecho No friends/bots were found on $hc(#) $+ . else aline @UserFind ' $+ $str(-,40) $+ ' } elseif ($usr($nick(#,%i.ufind))) { inc %tmp.ufind if (%tmp.ufind == 1) { clear @UserFind window -a @UserFind %uloc $tp(ufind.txt) FixedSys 9 write -c $tp(ufind.txt) write -c $tp(ufind.txt) write $tp(ufind.txt) exit $chr(123) set $chr(37) $+ uloc $chr(36) $+ swlc(@UserFind) $vl window -c @UserFind $chr(125) write $tp(ufind.txt) - aline @UserFind . $+ $str(-,40) $+ . aline @UserFind $vl Users on $fix(29,$hc(#)) $vl aline @UserFind $vl $+ $str(-,40) $+ $vl aline @UserFind $vl $lfix(10,Nick) $lfix(13,Level) $lfix(15,$vl) } if ($usr($nick(#,%i.ufind))) { write $tp(ufind.txt) $nick(#,%i.ufind) write $tp(ufind.txt) .who $chr(123) who $nick(#,%i.ufind) $chr(125) write $tp(ufind.txt) .ping $chr(123) ctcp $nick(#,%i.ufind) ping $chr(125) write $tp(ufind.txt) .finger $chr(123) finger $nick(#,%i.ufind) $chr(125) write $tp(ufind.txt) .whois $chr(123) whois $nick(#,%i.ufind) $chr(125) write $tp(ufind.txt) .version $chr(123) ctcp $nick(#,%i.ufind) version $chr(125) write $tp(ufind.txt) .- write $tp(ufind.txt) .delete $chr(123) remuser $usr($nick(#,%i.ufind)) $chr(125) if ($chkflag($usr($nick(#,%i.ufind)),*,b)) { if ($chkflag($usr($nick(#,%i.ufind)),#,f)) aline @UserFind $vl $lfix(4,%tmp.ufind) $+ . $fix(12,$nick(#,%i.ufind)) $fix(19,protected bot) $vl else aline @UserFind $vl $lfix(4,%tmp.ufind) $+ . $fix(12,$nick(#,%i.ufind)) $fix(19,bot) $vl } elseif ($chkflag($usr($nick(#,%i.ufind)),#,o)) { if ($chkflag($usr($nick(#,%i.ufind)),#,f)) aline @UserFind $vl $lfix(4,%tmp.ufind) $+ . $fix(12,$nick(#,%i.ufind)) $fix(19,protected op) $vl else aline @UserFind $vl $lfix(4,%tmp.ufind) $+ . $fix(12,$nick(#,%i.ufind)) $fix(19,op) $vl } elseif ($chkflag($usr($nick(#,%i.ufind)),#,v)) { if ($chkflag($usr($nick(#,%i.ufind)),#,f)) aline @UserFind $vl $lfix(4,%tmp.ufind) $+ . $fix(12,$nick(#,%i.ufind)) $fix(19,protected voice) $vl else aline @UserFind $vl $lfix(4,%tmp.ufind) $+ . $fix(12,$nick(#,%i.ufind)) $fix(19,voice) $vl } elseif ($chkflag($usr($nick(#,%i.ufind)),#,f)) aline @UserFind $vl $lfix(4,%tmp.ufind) $+ . $fix(12,$nick(#,%i.ufind)) $fix(19,protected) $vl else aline @UserFind $vl $lfix(4,%tmp.ufind) $+ . $fix(12,$nick(#,%i.ufind)) $fix(19,user) $vl } else dec %tmp.ufind goto start } else goto start }